how to perform binary multiplication